Spread Silverlight Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcLinestFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 1 - 4 items: known_y's, [known_x's], [const], [stats].

Known_y's is the set of y-values you already know in the relationship y = mx + b.

Known_x's is an optional set of x-values that you may already know in the relationship y = mx + b.

Const is a logical value specifying whether to force the constant b to equal 0.

Stats is a logical value specifying whether to return additional regression statistics.

Returns the GrapeCity.CalcEngine.CalcArray coordinates for a straight line that best fits your data.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcLinestFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 1 - 4 items: known_y's, [known_x's], [const], [stats].

Known_y's is the set of y-values you already know in the relationship y = mx + b.

Known_x's is an optional set of x-values that you may already know in the relationship y = mx + b.

Const is a logical value specifying whether to force the constant b to equal 0.

Stats is a logical value specifying whether to return additional regression statistics.

Return Value

A GrapeCity.CalcEngine.CalcArray value that indicates the evaluate result.
See Also

Reference

CalcLinestFunction Class
CalcLinestFunction Members
Overload List